package com.un.ebs.inventory.domain;

import com.un.ebs.inventory.enums.InventoryTypeEnum;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (InventoryNoteTypeExt)表实体类
 *
 * @author liubo
 * @since 2020-08-23 20:44:14
 */
@Data
@Component
@TableName("v_inventory_note_type_ext")
@SuppressWarnings("serial")
public class InventoryNoteTypeExt extends Model<InventoryNoteTypeExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "name", length = 100, precision = 0)
    private String name;

    @DbField(name = "inventory_type", length = -1, precision = 0)
    private InventoryTypeEnum inventoryType;

    @DbField(name = "profix", length = 10, precision = 0)
    private String profix;

    @DbField(name = "order_len", length = -1, precision = 0)
    private Integer orderLen;

    @TableLogic
    @DbField(name = "is_delete", length = -1, precision = 0)
    private Boolean isDelete;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "note_tag", length = 100, precision = 0)
    private String noteTag;

    @DbField(name = "remark", length = 100, precision = 0)
    private String remark;

    @DbField(name = "print_template", length = 100, precision = 0)
    private String printTemplate;

    @DbField(name = "code", length = 100, precision = 0)
    private String code;

    @DbField(name = "workflow_id", length = 40, precision = 0)
    private String workflowId;

    @DbField(name = "workflow_code", length = 100, precision = 0)
    private String workflowCode;

    @DbField(name = "workflow_name", length = 100, precision = 0)
    private String workflowName;


}